(cperl-mode): Remove unnecessary call to obsolete function
authorGlenn Morris <rgm@gnu.org>
Tue, 10 Apr 2007 04:03:08 +0000 (04:03 +0000)
committerGlenn Morris <rgm@gnu.org>
Tue, 10 Apr 2007 04:03:08 +0000 (04:03 +0000)
make-local-hook.

lisp/progmodes/cperl-mode.el

index 0b8287503f860518516c94f42ebcf8698eb6156b..96c94591531f8c417e95eda4a6892580ebfb5282 100644 (file)
@@ -1871,9 +1871,7 @@ or as help on variables `cperl-tips', `cperl-problems',
       (easy-menu-add cperl-menu))      ; A NOP in Emacs.
   (run-mode-hooks 'cperl-mode-hook)
   (if cperl-hook-after-change
-      (progn
-       (make-local-hook 'after-change-functions)
-       (add-hook 'after-change-functions 'cperl-after-change-function nil t)))
+      (add-hook 'after-change-functions 'cperl-after-change-function nil t))
   ;; After hooks since fontification will break this
   (if cperl-pod-here-scan
       (or cperl-syntaxify-by-font-lock